import Vue from 'vue'
import Vuex from 'vuex'
if(process.env.NODE_ENV === "development"){
    Vue.use(Vuex) 
} 

import user from './modules/user'
// import permission from './modules/permission'
import menu from './modules/menu';
import loading from './modules/loading';
import common from './modules/common';

export default new Vuex.Store({
    modules: {
        user,
        // permission,
        menu,
        loading,
        common
    }
});

